package com.liao.badminton.service;

import com.liao.badminton.code.*;
import com.liao.badminton.entity.ActivityRecord;
import com.liao.badminton.dto.ActivityRecordDto;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
* @author liaocheng
* @date 2024-11-15
* description:群发布活动记录表
*/
public interface ActivityRecordService extends IService<ActivityRecord>{
	/**
     * 新增
     */
	 ResponseRest saveActivityRecord(ActivityRecordDto param)throws ProjectException;
	/**
     * 修改
     */
	 ResponseRest updateActivityRecord(ActivityRecordDto param)throws ProjectException;
	/**
     * 查询列表
     */
	 ResponseRest findActivityRecordByPageParam(PageParam<ActivityRecordDto> PageParam)throws ProjectException;
    /**
    * 查询详情
    */
    ResponseRest findDetail(ActivityRecordDto param)throws ProjectException;
	/**
     * 删除
     */
	 ResponseRest deletesActivityRecord(ActivityRecordDto param)throws ProjectException;

	void parseTxt(String parseTxt, Map<String, Integer> map, Map<String, String> nameRecordMap, List<String> nameList);
}
